package cn.smbms.dao.user;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.smbms.pojo.User;

public interface UserMapper {
	public List<User> getUserList(User user);
	
	public int add(User user);
	
	public int del(User user);
	
	public int updateUser(User user);
	//通过userCode获取User
	public User getLoginUser(@Param("userCode") String userCode)throws Exception;
}
